﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Primitives="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone"
    x:Class="TakePhotoTogether.AboutPivot"
    mc:Ignorable="d"
    SupportedOrientations="PortraitOrLandscape"  Orientation="Portrait">
	<phone:PhoneApplicationPage.Resources>
		<Style x:Key="PivotStyleAbout" TargetType="phone:Pivot">
			<Setter Property="Margin" Value="0"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="ItemsPanel">
				<Setter.Value>
					<ItemsPanelTemplate>
						<Grid/>
					</ItemsPanelTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="phone:Pivot">
						<Grid HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}">
							<Grid.RowDefinitions>
								<RowDefinition Height="Auto"/>
								<RowDefinition Height="Auto"/>
								<RowDefinition Height="*"/>
							</Grid.RowDefinitions>
							<Grid Background="{TemplateBinding Background}" Grid.RowSpan="3"/>
							<ContentControl ContentTemplate="{TemplateBinding TitleTemplate}" Content="{TemplateBinding Title}" HorizontalAlignment="Left" Margin="24,30,0,-7" Style="{StaticResource PivotTitleStyle}" Background="White" Opacity="0.5"/>
							<Primitives:PivotHeadersControl x:Name="HeadersListElement" Grid.Row="1"/>
							<ItemsPresenter x:Name="PivotItemPresenter" Margin="{TemplateBinding Padding}" Grid.Row="2"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	
	</phone:PhoneApplicationPage.Resources>
	<phone:PhoneApplicationPage.FontFamily>
		<StaticResource ResourceKey="PhoneFontFamilyNormal"/>
	</phone:PhoneApplicationPage.FontFamily>
	<phone:PhoneApplicationPage.FontSize>
		<StaticResource ResourceKey="PhoneFontSizeNormal"/>
	</phone:PhoneApplicationPage.FontSize>
	<phone:PhoneApplicationPage.Foreground>
		<StaticResource ResourceKey="PhoneForegroundBrush"/>
	</phone:PhoneApplicationPage.Foreground>
<!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot" Background="#FF1F1F1F">
		<!--Pivot Control-->
		<phone:Pivot Title="TAP + SHOOT TOGETHER" Foreground="White" Style="{StaticResource PivotStyleAbout}" >
			<!--Pivot item one-->
			<phone:PivotItem Header="about">
				<ScrollViewer>
					<StackPanel Margin="12,0">
						<TextBlock TextWrapping="Wrap" Text="Get together with a friend and enjoy a new experience of taking pictures together." FontSize="28" Foreground="White" Margin="0,0,0,12" HorizontalAlignment="Left" FontFamily="Segoe WP Light"/>
						<TextBlock TextWrapping="Wrap" Text="• All photos you and your friend have taken will be available on both phones" FontSize="20" Foreground="White" Margin="0,0,0,12" HorizontalAlignment="Left" FontFamily="Segoe WP Light"/>
						<TextBlock TextWrapping="Wrap" Text="• Take pictures using both cameras in one single shot" FontSize="20" Foreground="White" Margin="0,0,0,40" HorizontalAlignment="Left" FontFamily="Segoe WP Light"/>
						<TextBlock TextWrapping="Wrap" Text="Version 1.0.0 - 04/04/2014" FontSize="20" Foreground="#7FFFFFFF" Margin="0,0,0,12" HorizontalAlignment="Left" FontFamily="Segoe WP Light"/>
						<TextBlock TextWrapping="Wrap" Text="Developed by" Foreground="#7FFFFFFF" Margin="0" HorizontalAlignment="Left" FontFamily="Segoe WP Light"/>
						<TextBlock TextWrapping="Wrap" Text="Nokia Institute of Technology" Foreground="#7FFFFFFF" FontSize="20" Margin="0,0,0,24" HorizontalAlignment="Left" FontFamily="Segoe WP"/>
						<HyperlinkButton Content="Visit our website" Foreground="#7FFFFFFF" BorderThickness="0" FontSize="20" NavigateUri="www.indt.org.br" Margin="-12,0,0,24" HorizontalAlignment="Left" FontFamily="Segoe WP Light"/>
						<HyperlinkButton Content="Join us on Facebook" Foreground="#7FFFFFFF" BorderThickness="21,0,0,0" FontSize="20" NavigateUri="www.facebook.com/pages/Instituto-Nokia-de-Tecnologia-INdT/131077316919960" Margin="-12,0,0,24" HorizontalAlignment="Left" FontFamily="Segoe WP Light"/>
					</StackPanel>
				</ScrollViewer>
			</phone:PivotItem>

			<!--Pivot item two-->
		</phone:Pivot>
	</Grid>
    
</phone:PhoneApplicationPage>